<div class="tblsitebox">
	<h3 class="tblsitename"><a name="current_settings">当前配置</a></h3>
	<h4></h4>
	<table cellpadding="0" cellspacing="0" width="100%" class="tblsite"> 
		<tbody class="tblsite-bd">
			<tr>
				<td><b>Name</b></td>
				<td><b>Value</b></td>
			</tr>

<% @settings.each do |setting| %>
			<tr>
				<td><%= setting.name %></td>
				<td><%= setting.value %></td>
			</tr>
<% end %>
		</tbody>
	</table>
</div>

<div class="tblsitebox">
	<h3 class="tblsitename"><a name="user_groups">用户组</a></h3>
	<h4></h4>
	<table cellpadding="0" cellspacing="0" width="100%" class="tblsite"> 
		<tbody class="tblsite-bd">
			<tr>
				<td><b>Name</b></td>
				<td><b>DESC</b></td>
				<td><b>Members</b></td>
			</tr>

<% @user_groups.each do |usergroup| %>
			<tr>
				<td><%= usergroup.name %></td>
				<td><%= usergroup.description %></td>
				<td><%= usergroup.users.map {|user| user.link_tag }.join(', ') %></td>
			</tr>
<% end %>
		</tbody>
	</table>
</div>
